If I have a string/integer that looks like 123, how can I convert that to look like 12.3?
Basically what I need is something faster (if possible) than this
Math.Round(Double.Parse(input / 1000), 1).ToString
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If it’s an integer do:
If it’s a string then you need to convert it to an integer first:
If you’re not sure that the string is an integer: