Finally, he used substring...
See:
http://www.dreaminco...from-substring/
The solution I want to share with you is fairly simple. I'll break it into steps:
1 Multiply the number by 10 (to keep one decimal digit)
2 Drop the rest of decimals.
3 Divide by 10.
Note: This can be done to display any number of decimals(two decimals, three,...)
Option Explicit On Option Strict On Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim number As Double = 35.735 'Display the number with one decimal digit without rounding. number = CDbl(Fix(number * 10) / 10) 'The output is 35.7 End Sub End Class