title: Want to know how to find Modulo of a decimal number with 10^9 + 7?
body: <p>I was going through a coding competition. it asked there is <strong>decimal number</strong> and we have to find its modulo by <strong>10^9 + 7(1000000007)</strong>. the simple test cases were</p>
  
  <ol>
  <li><strong>1.23</strong> should give output <strong>110000002</strong></li>
  <li><strong>4.0</strong> should give output <strong>4</strong>.</li>
  </ol>
  
  <p>i was unable to understand how 1.23 can give that value. is decimal mod is treated in some different manner? not simply a remainder of a number.</p>