FLOOR Function
Use:
Calculates the floor of the provided value.
Syntax:
{FLOOR( «value» )}
Arguments:
«value» Numeric or decimal value
Returns:
The rounds down to the integer.
Example:
{CEILING(7.2)
Result: 7
Recommendations
Explore
NextGen® Enterprise EHR Template Editor Help 8
CEILING Function
Use: Calculates the ceiling of the provided value. Syntax: {CEILING(<<value>>)} Arguments: <<value>> Numeric or decimal value Returns: The rounds up to the integer. Example: {CEILING(7.2)} Result: 8 Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help 8
ROUND Function
Use: Rounds the provided value to the specified number of decimal places. Syntax: {ROUND( «value» ,«digits» )} Arguments: «value» Numeric or decimal value to be rounded«digits» Number or decimal places to round Returns: The rounded decimal value. Example: {ROUND(76.456, 1)} Result: 76.5 Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help 8
SQRT Function
Use: Calculates the square root of the provided value Syntax: {SQRT(<<value>>)} Arguments: <<value>> Numeric or decimal value Returns: The calculated square root as decimal Example: {SQRT(144)} Result: 12 Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help 8
LOG10 Function
Use: Calculates the base 10 logarithm of a number. Syntax: {LOG10 (<<value>>)} Arguments: <<value>> Value to be log10 of. Returns: Returns the base 10 logarithm of a value. Example: {Log10(100)}Result: 2 Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help 8
REPEAT String Function
Use: Repeats a string a specified number of times Syntax: {REPEAT( «string» , «num»)} Arguments: «string» String value to repeat«num» Number of times to repeat Returns: A string of the repeated substrings Example: {REPEAT( XYZ , 3)} Result: XYZXYZXYZ Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help 8
ASSIGN Function
Use: Assigns the source value to a list of destination parameters (fields and/or variables). Syntax: {ASSIGN( «source» , «dest1», «dest2»,,,, )} Arguments: {source} Source value«dest1» Field or variable to be assigned the source value«dest2»,,,, (to «destn») Each additional field or variable to be assigned the source value Returns: The source value Example: Source value = ""dest1 = template_name_.field1dest2 = template_name_.field 2dest3 = @variable1{ASSIGN( "" , template_name_.field1 , template_name_.field2 , @variable1)} Result: An empty value is assigned to the destination fields and variable. Parent topic: Functions