Hide

YetaWF Documentation

Display
Print

FloatValue Component

FloatValue (Display)

Displays the model formatted as a floating point value. If the model is null, nothing is rendered.

Model Type: float?

AdditionalMetadata Attributes

NameTypeDefaultDescription
EmptyIf0boolfalseIf true, the floating point value is not displayed if it is equal to 0. Otherwise it is always displayed.
[Caption("Latitude"), Description("The latitude where the IP address is located")]
[UIHint("FloatValue"), AdditionalMetadata("EmptyIf0", true), SuppressEmpty, ReadOnly]
public float Latitude { get; set; }