decimalFormat#

swordfish.function.decimalFormat()#

Apply a specified format to the given object.

Parameters:
  • X (Constant) – A scalar/vector of Integral or Floating type.

  • format (Constant) – A string indicating the format to apply to X.

Returns:

A STRING scalar/vector.

Return type:

Constant