Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Nick Thissen
on
Yes, although with things like temperature you have to keep in mind that it returns a floating punt number, such as "31.198953" instead of a round number. So you have to put your formatting string correctly so that it rounds to a whole number (or whatever you want). That means instead of the "{0}" part you'd put something like "{0:0}" which means round to 1 digit (no decimals).