Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
11
Answers
Convert code to C#
Farhan Shariff
10y
1.3k
1
Reply
I want to change this code to C# code here val is a double value
function round7(val)
define v1,v2
v1=val
if abs(v1)>0
v2=int(log(abs(v1)))
v1=v1/(10^v2)
v1=round(v1,6)
v1=v1*10^v2
end if
return v1
end function
Post
Reset
Cancel
Answers (
11
)
Next Recommended Forum
Regular Expression Important 15:05
how to print in roll paper in C#