float
The float
type is similar to the integer one but it
can store floating points instead of just integer values.
[fields.percentage]
label = Percentage
type = float
description = Just a percentage of a progress bar.
addon_label = %
<div class="progress-bar">
<span class="progress" style="width: {{ this.percentage }}%"></span>
<span class="label">{{ this.percentage }}%</span>
</div>
Comments