Math Functions and Variables in Fusion Flashcards
https://experienceleague.adobe.com/en/docs/workfront/using/adobe-workfront-fusion/functions-in-fusion/math-functions
What function returns the average value of the numeric values in a specific array, or the average value of numerical values entered individually?
average ([array of values]) average(value1; [value2], …)
What function returns the smallest integer greater than or equal to a specified number?
ceil (number)
What function returns the largest integer less than or equal to a specified number?
floor (number)
What function returns a number in the requested format. By default, the decimal point is a comma (,) and the thousands separator is a period (.)?
formatNumber (number; decimalPOINTS; [decimalSeparator]; [thousandsSeparator])
What function returns the largest number in a specified array or the largest number among numbers entered individually?
max ([array of values]), max(value1;value2; …)
What function returns the smallest number in a specified array or the smallest number among numbers entered individually?
min ([array of values]), min(value1; value2; …)
What function parses a string with a number and returns the number?
parseNumber (number; decimal separator)
What function rounds a numeric value to the nearest integer.
round (number)
What function returns the sum of the values in a specified array or the sum of numbers entered individually?
sum ([array of values]), sum(value1; value2; …)
What math variable returns a floating-point pseudo-random number in the range [0,1] (inclusive of 0, but not 1)?
random