mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-14 00:16:13 +01:00
🎨 Attribute View number column format https://github.com/siyuan-note/siyuan/issues/8764
This commit is contained in:
parent
5d9a5157f1
commit
760598d943
6 changed files with 78 additions and 2 deletions
|
|
@ -133,8 +133,19 @@ type ValueNumber struct {
|
|||
type NumberFormat string
|
||||
|
||||
const (
|
||||
NumberFormatNone NumberFormat = ""
|
||||
NumberFormatPercent NumberFormat = "percent"
|
||||
NumberFormatNone NumberFormat = ""
|
||||
NumberFormatCommas NumberFormat = "commas"
|
||||
NumberFormatPercent NumberFormat = "percent"
|
||||
NumberFormatUSDollar NumberFormat = "usDollar"
|
||||
NumberFormatYuan NumberFormat = "yuan"
|
||||
NumberFormatEuro NumberFormat = "euro"
|
||||
NumberFormatPound NumberFormat = "pound"
|
||||
NumberFormatYen NumberFormat = "yen"
|
||||
NumberFormatRuble NumberFormat = "ruble"
|
||||
NumberFormatRupee NumberFormat = "rupee"
|
||||
NumberFormatWon NumberFormat = "won"
|
||||
NumberFormatCanadianDollar NumberFormat = "canadianDollar"
|
||||
NumberFormatFranc NumberFormat = "franc"
|
||||
)
|
||||
|
||||
func NewValueNumber(content float64) *ValueNumber {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue