[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== HELP! iconv and MS (OpenInsight Specific) ====
=== At 02 MAY 2001 04:29:16AM Barry Stevens wrote: ===
{{tag>"OpenInsight Specific"}}
Can anyone tell me how I can get the correct result for the following;
x=(5/93000) * 100
y=iconv(X,"MS")
Y S/B 0.005376....
but is
Y= same as X =5.37634408602151E-3
Barry
----
=== At 02 MAY 2001 06:52AM Barry Stevens wrote: ===
I have been playing aroubd and this appears to work, dont know if any gotchas.
X =oconv((5/93000) * 100,"MD2PT")
Barry
----
=== At 02 MAY 2001 10:51PM Barry Stevens wrote: ===
oops , thst didnt work, had to do this:
function BSBSOconvMS(Quotant,Divisor)
Result=(oconv(Quotant,"MD2") / oconv(Divisor,"MD2")) * 100
if index(Result,"E",1) then
OconvMD=MD":Result-1,"B-":"T"
Result=oconv(Result,OconvMD)
end
Result=oconv(Result,"MD2PT")
return Result
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=245D585AFD71888D85256A40002EA00A|View this thread on the forum...]]