Function group nas

NAS - Number As String, i.e. number that represent as string, like "12" instead of 12. Can be used for big numbers and acurate calculates. Function group has those functions and groups:

  • Group nas_arithmetic - Number As String arithmetic functions.
    • Function "||" - If the argument is string as number, return it in a normelize form (to allow a constent uniquness check).
    • Function "+" - If all the arguments are numbers as string number, add them.
    • Function "-" - If there are two numeric arguments, substract the second argument from the first one if both are number.
    • Function "*" - If all the arguments are numbers as string, multiply them.
    • Function "/" - Divide the firs argument by the second argument if both are strings as numbers. If the second argument is "0" will return nothing
    • Function "%" - Find the reminder of the division of the firs argument by the second argument if both are strings as number. If the second argument is "0" will return nothing
    • Function "abs" - If the argument is numnber as string, return it's absolute value as string.
    • Function "round" - If the argument is string as number, return it's rounded.
  • Group nas_compare - Number As String comparison functions.
    • Function "=" - Compare two string as numbers and return true if both are equals.
    • Function "!=" - Compare two number as strings and return true if both are not equals.
    • Function ">" - Compare two numbers as string and return true if the first is greater than the second.
    • Function "<" - Compare two numbers as string and return true if the first is smaller than the second.
    • Function ">=" - Compare two numbers and string and return true if the first is greater or eqauls than the second.
    • Function "<=" - Compare two numbers and string and return true if the first is smaller or eqauls than the second.
    • Function "sort_by" - Sort a list using number as strings.

Use additional help with a function name to see more details about the function.