Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ConvertToNumber: Difference between revisions

From Catglobe Wiki
jrfconvert import
 
Cg van (talk | contribs)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
[[Category:General_Functions]]

{{HelpFiles}}


====convertToNumber====
====convertToNumber====
Line 19: Line 19:


'''Examples'''
'''Examples'''
''{''


''number b = convertToNumber("45");''
''number b = convertToNumber("45");''


''print(b);''
''print(b); //45 ''
 
''}''


'''Availability'''
'''Availability'''

Latest revision as of 11:01, 20 December 2011



convertToNumber

Converts the value of an expression to a number value.

Syntax

convertToNumber(expression)

Arguments

expression: Is an expression of the type bool, string or number.

Return type

number

Examples

number b = convertToNumber("45");

print(b); //45

Availability

Version 4.8