Apr 1, 2009 #1 chris86t Technical User Jun 13, 2008 41 US How would I convert a string to and integer and keep the numbers after the decimal? strtonum cuts them off.
How would I convert a string to and integer and keep the numbers after the decimal? strtonum cuts them off.
Apr 2, 2009 #2 knob Programmer Oct 31, 2001 2,573 US To keep the numbers to the right of the decimal you will need to convert to a float instead of an integer. You can do this using the atof command. http://www.aspectscripting.com Upvote 0 Downvote
To keep the numbers to the right of the decimal you will need to convert to a float instead of an integer. You can do this using the atof command. http://www.aspectscripting.com