Records: float => double

This commit is contained in:
Michał Zieliński
2024-03-09 08:53:47 +01:00
parent f9c1a8a8ad
commit fbcb46046e
7 changed files with 58 additions and 60 deletions

View File

@@ -5,9 +5,9 @@ namespace DiunaBIWebAPI.dataProcessors
{
public static class ProcessHelper
{
public static void setValue(Record record, int number, float? value)
public static void setValue(Record record, int number, double? value)
{
value = (float)Math.Round((decimal)(value ?? 0), 2);
value = (double)Math.Round((decimal)(value ?? 0), 2);
switch (number)
{
case 1:
@@ -108,7 +108,7 @@ namespace DiunaBIWebAPI.dataProcessors
break;
}
}
public static float? getValue(Record record, int number)
public static double? getValue(Record record, int number)
{
switch (number)
{