Jump to content

Parsefloat


GermanPrince

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...