Jump to content

Parsefloat


GermanPrince
 Share

Recommended Posts

Converts a string to a floating-point number -- that is, a number that can have a decimal portion. If the string begins with numbers but also contains alphabet characters, the string will be truncated at the first alphabet character, and the number portion will be returned.This is good for using numbers provided by users in a textarea or text input.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...