Jump to content

Recommended Posts

Posted

Hi, guys,

this is my 1st post and also 1st time experience with V570 and VisiLogic 8.6.1

I have to divide two number and to store the result in a MF.

Example;

ML = 20000

#D = 3600

result is 5.5555

Since now I am using ML, I lost the x.5555

in my application I need to accumulate this reading over time, the x.555 is giving huge error.

I wanted to use MF (thinking this will solve the problem), but could not find the MF in the drop menu.

Please advice, and thanks in advance.

M.Pathma

Posted

Hi, guys,

this is my 1st post and also 1st time experience with V570 and VisiLogic 8.6.1

I have to divide two number and to store the result in a MF.

Example;

ML = 20000

#D = 3600

result is 5.5555

Since now I am using ML, I lost the x.5555

in my application I need to accumulate this reading over time, the x.555 is giving huge error.

I wanted to use MF (thinking this will solve the problem), but could not find the MF in the drop menu.

Please advice, and thanks in advance.

M.Pathma

to keep the precision while still using Long Integers, you could also just multiply the first ML by your precision (ie, 10000) prior to dividing.

  • 2 weeks later...
Posted

to keep the precision while still using Long Integers, you could also just multiply the first ML by your precision (ie, 10000) prior to dividing.

Hi,

Found the float function and completed the project.

Thanks

M.Pathma

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.