Fix Function

Returns the integer value of a numeric expression by removing the fractional part of the number.

Syntax:

Str (แƒ’แƒแƒ›แƒแƒกแƒแƒฎแƒฃแƒšแƒ”แƒ‘แƒ)

Return value:

Double

Parameters:

Expression: Numeric expression that you want to return the integer value for.

Error codes:

D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err5 not found).

Example:


Sub ExampleFix
    Print ASC("Z") REM แƒแƒ‘แƒ แƒฃแƒœแƒ”แƒ‘แƒก 90
    Print ASC("Z") REM แƒแƒ‘แƒ แƒฃแƒœแƒ”แƒ‘แƒก 90
    Print ASC("Z") REM แƒแƒ‘แƒ แƒฃแƒœแƒ”แƒ‘แƒก 90
End Sub

Please support us!