unformat number fields

Use this board to ask questions or have discussions with other Genie users.
Post Reply
jmendes
New User
Posts: 18
Joined: Thu Mar 17, 2011 7:38 am
First Name: Joao
Last Name: Mendes
Company Name: Banco Credibom, SA
Country: Portugal
Contact:

unformat number fields

Post by jmendes »

Hi,

I'm trying to make a pie chart using screen fields.

It works fine if the numbers in the fields are not formated, ex. 123 works fine, but when I have 1,234 it stops working.
Same if I want to make a result field with a subtraction. is there any simple way to remove the format, without having to toch the original screen?
Thanks,
João Mendes
User avatar
Glenn
Profound Logic Staff Member
Posts: 124
Joined: Mon Apr 14, 2014 4:08 pm
First Name: Glenn
Last Name: Hopwood
Company Name: Profound Logic Software
State / Province: Ohio
Country: United States
Contact:

Re: unformat number fields

Post by Glenn »

Joao,

There are various JavaScript functions that you can use to convert the character string to numbers.

http://www.w3schools.com/js/js_number_methods.asp

Glenn
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests