oph_value_to_bin

Description

Behaviour

It converts a value into a binary array of measures.

Parameters

  • input measure type: not used.
  • output measure type: Ophidia typing. Supported types are: ‘oph_double’; ‘oph_float’; ‘oph_long’; ‘oph_int’; ‘oph_short’; ‘oph_byte’.
  • value: numeric value to be converted.

Return type

Binary-array.

Examples

Convert the value ‘112.45’ into a binary value.

oph_value_to_bin('','OPH_DOUBLE',112.45)

Operation type

Simple.

Arguments

Argument name Type Mandatory Values Default Min/Max-value Min/Max-times
input measure type “oph_type” “yes”       “1” / “1”
output measure type “oph_type” “yes” “‘oph_double’|’oph_float’|’oph_int’|’oph_long’|’oph_short’|’oph_byte’”     “1” / “1”
value “numeric” “yes”       “1” / “1”