I am looking for a method equivalent to Delphi’s System.Frac in .NET.
The Delphi function strips the whole number leaving just the value after the decimal point.
I could write my own method but thought I would check?
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.
I know of no such function, and I don’t think it exists. Such a function would be part of the
Mathclass, and I can’t see it there. So you’ll have to go withvalue-Math.Truncate(value):