HELP! iconv and MS (OpenInsight Specific)
At 02 MAY 2001 04:29:16AM Barry Stevens wrote:
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 =oconv1)
1)
5/93000) * 100,"MD2PT")
Barry
</QUOTE>
=== At 02 MAY 2001 10:51PM Barry Stevens wrote: ===
=== 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")) * 100if index(Result,"E",1) thenView this thread on the forum...OconvMD=MD":Result-1,"B-":"T"Result=oconv(Result,OconvMD)endResult=oconv(Result,"MD2PT")return Result