10 references to Round
System.Private.CoreLib (10)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Convert.cs (8)
626
return decimal.ToSByte(decimal.
Round
(value, 0));
730
return decimal.ToByte(decimal.
Round
(value, 0));
839
return decimal.ToInt16(decimal.
Round
(value, 0));
951
return decimal.ToUInt16(decimal.
Round
(value, 0));
1080
return decimal.ToInt32(decimal.
Round
(value, 0));
1202
return decimal.ToUInt32(decimal.
Round
(value, 0));
1309
return decimal.ToInt64(decimal.
Round
(value, 0));
1427
return decimal.ToUInt64(decimal.
Round
(value, 0));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Math.cs (2)
1297
return decimal.
Round
(d, 0);
1303
return decimal.
Round
(d, decimals);