Round value before save
This commit is contained in:
@@ -7,6 +7,7 @@ namespace DiunaBIWebAPI.dataProcessors
|
||||
{
|
||||
public static void setValue(Record record, int number, float? value)
|
||||
{
|
||||
value = (float)Math.Round((decimal)(value ?? 0), 2);
|
||||
switch (number)
|
||||
{
|
||||
case 1:
|
||||
|
||||
Reference in New Issue
Block a user