ftd.decimal
ftd.decimal
is a component used to render a decimal value in an ftd
document.ftd.decimal
, simply add it to your ftd
document with your desired
decimal value to display.-- ftd.decimal: 10.01
color: $inherited.colors.text
value: caption or body decimal
This is the value to show. It is a required field.
There are three ways to pass integer toftd.decimal
: as caption
, as a
value
header
, or as body
.caption
-- ftd.decimal: 10000.9999
header
-- ftd.decimal:
value: 1234.9999
body
-- ftd.decimal:
3.142
format: optional string
format
to render decimal as percent-- ftd.decimal:
value: 0.94623
format: .0%
color: $inherited.colors.text-strong