|
HerenIstarian Novice
Joined: 30 Oct 2005 Posts: 40
|
Posted: Wed Oct 12, 2011 4:29 pm
Formating issue. |
So I'm trying to format a number with commas into a number without commas. I know how to do the reverse and add commas with %format but I don't know if its possible to do the reverse with that. Any idea how I can do this?
To be clear I want to take 8,560,333 and turn it into 8560333 so I can use it as a variable for some math. |
|
|
|
ins0mnia Novice
Joined: 23 Jan 2011 Posts: 42 Location: United States
|
Posted: Wed Oct 12, 2011 4:47 pm |
%subchar("8,560,333",",","")
|
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Wed Oct 12, 2011 4:48 pm |
Try %replace-ing them with nothing.
|
|
|
|
HerenIstarian Novice
Joined: 30 Oct 2005 Posts: 40
|
Posted: Wed Oct 12, 2011 8:41 pm |
Thank you!
|
|
|
|
|
|