From ff39701b0e841035089929ab7811c7431ab9b39b Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Thu, 15 Nov 2012 11:10:24 +0100 Subject: format Basic code examples --- source/text/sbasic/shared/03080502.xhp | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'source/text/sbasic/shared/03080502.xhp') diff --git a/source/text/sbasic/shared/03080502.xhp b/source/text/sbasic/shared/03080502.xhp index a5f2933a79..1b97c9e249 100644 --- a/source/text/sbasic/shared/03080502.xhp +++ b/source/text/sbasic/shared/03080502.xhp @@ -47,7 +47,9 @@ Returns the integer portion of a number. Syntax: -Int (Number) + +Int (Number) + Return value: Double Parameters: @@ -56,10 +58,12 @@ Example: -sub ExampleINT -Print Int(3.99) REM returns the value 3 -Print Int(0) REM returns the value 0 -Print Int(-3.14159) REM returns the value -4 -end sub + +Sub ExampleInt + Print Int(3.99) ' returns the value 3 + Print Int(0) ' returns the value 0 + Print Int(-3.14159) ' returns the value -4 +End Sub + -- cgit