my final post on this for tonite:

  dim u as UInt64 = 23897188192681986
  s2 = str(u, "#")
  s1 = str(u)

guess what?



On Fri, Apr 19, 2013 at 12:26 AM, Peter K. Stys <[email protected]> wrote:

> i suppose this has to do with Int64 to double conversion and loss of
> precision.  If str does it (with the optional format string), what's the
> point of the format() fn if one may get incorrect results?
>
>
> On Fri, Apr 19, 2013 at 12:02 AM, Peter K. Stys <[email protected]> wrote:
>
>> try this:
>>
>>   dim i as Int64 = 23897188192681986
>>   dim s1 as String = str(i)
>>   dim s2 as String = format(i, "-#")
>>
>> s1 is correct, s2 is wrong, amazingly
>>
>> This is very bad.
>>
>> RS, pls fix such basic things.
>>
>> p.
>>
>> ...and no, I will not file a feedback report because every time I try it
>> tells me I need an update then the update fails.
>>
>> So this is my feedback report.
>>
>> --
>> ---------------------------------------------
>> Peter K. Stys, MD
>> Dept. of Clinical Neurosciences
>> Hotchkiss Brain Institute
>> University of Calgary
>> tel (403) 210-8646
>> ---------------------------------------------
>>
>
>
>
> --
> ---------------------------------------------
> Peter K. Stys, MD
> Dept. of Clinical Neurosciences
> Hotchkiss Brain Institute
> University of Calgary
> tel (403) 210-8646
> ---------------------------------------------
>



-- 
---------------------------------------------
Peter K. Stys, MD
Dept. of Clinical Neurosciences
Hotchkiss Brain Institute
University of Calgary
tel (403) 210-8646
---------------------------------------------
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to