Records: float => double
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user