Example
If we want to round off 2 decimal places:
35.00449 will be rounded off to 35.01, if you give input with precision of 2
Currently I had the requirement but couldn't find any function that rounds off with given precision, this is for .NET platform
Input
inputDecimalString(string)
Precision(Integer)
OutPut
OutputDecimalString(String)