@servicenow/sdk - v4.7.0
    Preparing search index...
    • A Column for a floating-point number type field. Stores decimal numbers with floating-point precision.

      Type Parameters

      Parameters

      • config: C & Column<Type, Default> & { scale?: number }
        • Optionalscale?: number

          Number of decimal places to display. Controls the precision of the floating-point number.

      Returns Typed<Type, C>

      const price = FloatColumn({
      label: 'Price',
      default: 99.99,
      scale: 2,
      })

      const temperature = FloatColumn({
      label: 'Temperature (Celsius)',
      default: 23.5,
      scale: 1,
      mandatory: true,
      })