Class SlardarNumberProp.Nf

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getFormat()
      void setFormat(String format)
      RoundingMode getRound()
      void setRound(RoundingMode round)
      String getSeparator()
      void setSeparator(String separator)
      FormatNumberSerializer.Digital getDigital()
      whether the value is output as a string or a number in js
      
      `auto` - auto-match, number below 52bit, string above
      `true` - force number, ignore WRITE_NUMBERS_AS_STRINGS
      `false` - force string, avoid loss of precision.
      
      Whether to ignore WRITE_NUMBERS_AS_STRINGS, force to write number, need to pay attention to the
      format compatibility. For example, using bigint in js and setting is auto, the boundary (inclusive)
      will automatically switch between number and string.
      
      void setDigital(FormatNumberSerializer.Digital digital)
      whether the value is output as a string or a number in js
      
      `auto` - auto-match, number below 52bit, string above
      `true` - force number, ignore WRITE_NUMBERS_AS_STRINGS
      `false` - force string, avoid loss of precision.
      
      Whether to ignore WRITE_NUMBERS_AS_STRINGS, force to write number, need to pay attention to the
      format compatibility. For example, using bigint in js and setting is auto, the boundary (inclusive)
      will automatically switch between number and string.
      
      DecimalFormat getWellFormat()
      boolean equals(@Nullable() Object o)
      int hashCode()
      String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SlardarNumberProp.Nf

        SlardarNumberProp.Nf()
    • Method Detail

      • setRound

         void setRound(RoundingMode round)
      • getDigital

         FormatNumberSerializer.Digital getDigital()
        whether the value is output as a string or a number in js
        
        `auto` - auto-match, number below 52bit, string above
        `true` - force number, ignore WRITE_NUMBERS_AS_STRINGS
        `false` - force string, avoid loss of precision.
        
        Whether to ignore WRITE_NUMBERS_AS_STRINGS, force to write number, need to pay attention to the
        format compatibility. For example, using bigint in js and setting is auto, the boundary (inclusive)
        will automatically switch between number and string.
        
      • setDigital

         void setDigital(FormatNumberSerializer.Digital digital)
        whether the value is output as a string or a number in js
        
        `auto` - auto-match, number below 52bit, string above
        `true` - force number, ignore WRITE_NUMBERS_AS_STRINGS
        `false` - force string, avoid loss of precision.
        
        Whether to ignore WRITE_NUMBERS_AS_STRINGS, force to write number, need to pay attention to the
        format compatibility. For example, using bigint in js and setting is auto, the boundary (inclusive)
        will automatically switch between number and string.