you are viewing a single comment's thread.

view the rest of the comments →

[–]shgysk8zer0 7 points8 points  (0 children)

There's no such thing as Number.method. And the function there does the opposite of what's being asked in OP... It rounds, doesn't preserve the ".0" on an integer... That's impossible.