overflow under conversion of Microsoft.Dynamics.Nav.Runtime.Decimal18 value 0.37381002500 to system.Int32

TensDec := ((No * 100) MOD 100) DIV 10;
OnesDec := (No * 100) MOD 10;

while debug it shows error on 1401 report. on second line.

0.37381002500 it store in OnesDec variable but OnesDec is integer type variable. It not store long length number what should I do??? 

Please give me solution for this.