How to split string at decimal place in Swift?
<p>According to Rules when I round up and round down string the <code>output</code> is like this.</p>

<p>1.41 -> 1.40<br>
1.49 -> 1.50</p>

<p>But it's a bit different in my case: I want  my string to round down always like if string is 1.46 I want to get 1.40.  </p>