I need to display float numerics with symbol "+" or "-" before.
What is the correct string format?
For ex.
-1,5
-1
-0,5
0
+0,5
+1
settings.Columns.Add(column =>
{
column.FieldName = "current";
column.Caption = "Numeric";
column.ColumnType = MVCxGridViewColumnType.SpinEdit;
var edsettings = column.PropertiesEdit as DevExpress.Web.ASPxEditors.SpinEditProperties;
edsettings.DisplayFormatString = "0.#";
});
this is column of devexpress component grid in asp.mvc. where "current" is decimal value in Model
"+0.#;-0.#"or"+#.00;-#.00"