formatsn is used to convert strings in which numbers are written to a natural number int or double.
Syntax:
formatsn ("76765");
formatsn ('7');
formatsn ("-757.067");
Accepts string or char. The sign of the fraction is the dot (.).
Returns an int or double that can be used in mathematical and other operations.
In case of an error, the number returns -10011001
The error is returned if the string in the parameter can not be converted to a number.
1. Kibor - 24 Июля, 2018 - 05:07:25 - перейти к сообщению