UFormatStyle

Cell value format config

public struct UFormatStyle

Remarks

This struct is used to define a formatting pattern for cell values, determining if they should be treated as numbers or dates based on the pattern’s characters.

Properties

Property Type Description
pattern string Format Pattern Value

Methods

IsForNumber

public bool IsForNumber()

Return true if the pattern is numeric

Returns

bool: True if the pattern includes numeric placeholders like #, 0, or ?


IsForDate

public bool IsForDate()

Return true if the pattern is for dates

Returns

bool: True if the pattern includes date/time markers like M, D, A, H, or S