User Profile
Collapse
-
This is not a homework assignment as I am not studying but I am a kind of person who is interested in doing programming challenging problem in terms of efficiency.... -
We can use the Convert.ToStrin g() which is the built-in function, we need to invet our own algorithm to implement the method. :(
any thought?...Leave a comment:
-
Convert String to float and still retain the precision
I am trying to write a method that have this signature in C#
string ConvertFloatToS tring(float floatNumber, int precision)
if we call ConvertFloatToS tring (1234.3433,2) then the method should return "1234.34"
Can give me some idea?
No activity results to display
Show More
Leave a comment: