Cast a Double Variable to Decimal

This will seem like a silly question to some but I need to cast a double to decimal to use as currency. Where does the M go?

decimal dtot = (decimal)(doubleTotal);
75
задан Bassie 11 July 2019 в 07:43
поделиться