View Full Version : Problem with numbers.spin

09-14-2007, 10:47 PM
I had never used numbers.spin before, so I decided to try it.

If I display:

num.ToStr(3210, Num#DEC) it displays "3210", just like it should.

However, if I display:

num.ToStr(3210, Num#DDEC), it only displays "3", which is strange:(

With this format parameter, it should display "3,210", with the comma embedded in the string.

Is there a bug in numbers.spin or am I doing something wrong?

Thanks for your help.


09-14-2007, 10:50 PM
Oops, I just discovered my own problem:(

I forgot to call num.init, I'm surprised it worked at all...