PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Warning
From version 28, RoundUp is kept for backward compatibility. This function is replaced by RoundCeil.
Returns the value of a numeric value rounded to the nearest greater integer.
Example
ResRound = RoundCeil(-16.238167, 2) // Returns -16.23
ResRound = RoundCeil(3.1) // Returns 4 (no decimal)
ResRound = RoundCeil(3.111, 2) // Returns 3.12
ResRound = RoundCeil(1.9) // Returns 2
ResRound = RoundCeil(-1.9) // Returns -1
Syntax
<Result> = RoundCeil(<Numeric value> [, <Number of decimals>])
<Result>: Integer or real
Value rounded to the greater number.
<Numeric value>: Real or currency
Numeric value to round.
<Number of decimals>: Optional integer
Number of decimals to return. No decimal is returned if this parameter is not specified.
Remarks
The decimal separator for the real numbers is "." (dot).
Business / UI classification: Neutral code
Component: wd280mat.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment