atof

fixed atof(str s)

Description

Returns s parsed as a fixed-point number. If s cannot be parsed as a fixed-point number, returns 0.

If s is too big or too small to fit into a fixed-point number, returns INT_MAX with the sign of the input.

Supports Number prefixes.