decimalFormat#

swordfish.function.decimalFormat()#

Apply a specified format to the given object.

参数:
  • X (Constant) -- A scalar/vector of Integral or Floating type.

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

返回:

A STRING scalar/vector.

返回类型:

Constant