18 lines
410 B
C#
18 lines
410 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace bdHerramientaCACOA.extensiones
|
|
{
|
|
public static class DoubleExtensions
|
|
{
|
|
public static double DosDecimales(this double value)
|
|
{
|
|
return Math.Round(value, 2, MidpointRounding.AwayFromZero);
|
|
}
|
|
}
|
|
}
|