Jump to content

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...