Specifications
RightTrim
734 InfoMaker
Usage
RightA replaces the functionality that Right had in DBCS environments in
InfoMaker 9. In SBCS environments,
Right and RightA return the same results.
See also LeftA
MidA
PosA
Right
RightTrim
Description Removes spaces from the end of a string.
Syntax RightTrim ( string )
Return value
String. Returns a copy of string with trailing blanks deleted if it succeeds and
the empty string (“”) if an error occurs.
Examples This expression returns RUTH:
RightTrim("RUTH ")
See also LeftTrim
Trim
Round
Description Rounds a number to the specified number of decimal places.
Syntax Round ( x , n )
Return value
Decimal. If n is positive, Round returns x rounded to the specified number of
decimal places. If n is negative, it returns x rounded to (- n +1) places before
the decimal point. Returns –1 if it fails.
Argument Description
string The string you want returned with trailing blanks deleted
Argument Description
x The number you want to round.
n The number of decimal places to which you want to round x. Valid
values are 0 through 28.