Compartir a través de


CustCustomField.minMaxToStr Method

Converts a specified number to a String that has the amount of decimal points based on the CustCustomField.DataType value.

Syntax

private str minMaxToStr(real _number, CustomFieldDataType _type)

Run On

Called

Parameters

  • _number
    Type: real
    A number value to convert to a String.

Return Value

Type: str
The String representation of the number adjusted by the CustCustomField.DataType value.

Remarks

The CustCustomField.DataType value is used to determine the number of decimal points to display:

  • Real - 4 decimal points

  • Currency - 2 decimal points

  • Integer - 0 decimal points

See Also

Reference

CustCustomField Table