number accurates to the second decimal place

Post your questions and help other users.

Moderator: Martin

Post Reply
srjohn
Posts: 17
Joined: 11 Jan 2014 15:53

number accurates to the second decimal place

Post by srjohn » 15 Jan 2014 16:22

For example, I have a number=12.345678901234567890
I want to show it and other variables on the status bar.
But the number is too long, it is hard to read the notification.
How to change the number accurates to the second decimal place?
Any idea will be good, thanks!
-srjohn

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: number accurates to the second decimal place

Post by Martin » 15 Jan 2014 17:18

Hi,

You can format a number in a text field that supports variables like this:
{1.2345678,numberformat,0.00}

or when the number is stored in a variable called number:
{number,numberformat,0.00}

Regards,
Martin

srjohn
Posts: 17
Joined: 11 Jan 2014 15:53

Re: number accurates to the second decimal place

Post by srjohn » 17 Jan 2014 02:20

Thanks! {number,numberformat,0.00} works!
Thanks for your great APP!
-srjohn

Post Reply