Index | Prev | Next

Links from statusNumeric

  • A statusNumeric-to-string link results in the string value of that number, for example “78.30”. 
A statusNumeric “null” value does not change the target string value.
  • A statusNumeric-to-boolean link has a “False Value” converter property, with a default value of 0.0, such that any number value other than 0 results in a boolean true. If needed, “False Value” can be edited to specify a different value to associate with false.

    Typically, a statusNumeric “null” value does not change the target boolean value.

  • A statusNumeric to “different simple number type” link results in that number, unless outside the range of the target data type. For example, a statusNumeric-to-integer link with a source value of 2147484000 (exceeding max integer range) will result in the integer value of “max” (2147483647).

    A statusNumeric “null” value does not change/affect a linked long or integer value; however, a “null” changes a linked double or float value to “nan” (not a number).

  • A statusNumeric-to-statusBoolean link has a “False Value” converter property, with a default value of 0.0, such that any number value other than 0 results in a boolean true. If needed, “False Value” can be edited to specify a different value to associate with false.

    A statusNumeric “null” value changes the statusBoolean target to “null”.

  • A statusNumeric-to-statusEnum link results in that number, unless outside the ordinal (integer) range of a statusEnum data type, whereby it is “clamped” at that max or min value.

    A statusNumeric “null” value changes the statusEnum target to the “null value” (often 0).

  • A statusNumeric-to-statusString link results in the string value of that number, for example “78.30”. The link also has a “Format” converter property, based on a text string, with a blank default value. The blank Format outputs all existing digits with no formatting.

    In the Format property, you can enter a Format value using pound signs (#) for digits, 0 numeral(s) for leading/trailing zero(s), and placeholder separators, such as a comma (,) for grouping and/or period (.) as decimal separator. Some Format value examples:

    • ###,###.### — where a source number 123456.789 is string formatted as 123,456.789
    • ###,## — where a source number 123456.789 is string formatted as 123456.79
    • 00000.000 — where a source number 123.78 is string formatted as 000123.780

      A statusNumeric “null” value changes the linked statusEnum target to “null”.

  • A statusNumeric-to-absTime link adds that number of milliseconds to the Java “epoch” date/timestamp of December 31 1969 for another date-timestamp. For example, a statusNumeric value of 1296509138929 results in an absTime value of January 31 2011 4:25pm EST.

    A statusNumeric “null” value changes the absTime value to “null”.

  • A statusNumeric-to-relTime link adds that number of milliseconds to 0ms. For example, a statusNumeric value of 4800000 results in an relTime value of 01h 20m.

    A statusNumeric “null” value does not change the current linked relTime value.

Links to other “Conversion link "From" notes”.

Related Links

  • Conversion link "From" notes (Parent Topic)
  • Index | Prev | Next