Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
mob/Login()
world << num2text(1234567890, 10)
Expected Results:
I expected '1234567890' to return as '1234567890' but as text.
Actual Results:
'1234567890' returned as '1234567936'
Does the problem occur:
Every time? Or how often? Every Time.
In other games? Possibly.
In other user accounts? Yes.
On other computers? Yes.
When does the problem NOT occur? it always occurs.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
I truly don't know.
Workarounds: None.
BYOND's numbers are only accurate up to the around the 24th bit, which gives an effective accurate range of : 16777216
Again, as you can see, your number is a fair bit large that the upper threshold for accurate numbers:
0016777216
1234567890
Thus, it will suffer from a slight inaccuracy as it gets larger than that number.
This isn't a bug with BYOND --it's how computers work.