I have a situation that I cannot change: one database table (table A) accepts 6 decimal places, while a related column in a different table (table B) only has 3 decimal plac
bool CountDecimalPlaces(decimal input) { return input*1000.0 == (int) (input*1000); }