Loading ...
Sorry, an error occurred while loading the content.
 

Another calc problem with negative numbers and commas?

Expand Messages
  • joy8388608
    NTL 7.01.25 Please check to see if it s me but this clip gives me -,1050.03 as a result for both these lines. ^!Prompt ^$Calc(-50.02 - 1,000.01)$ ^!Prompt
    Message 1 of 2 , Sep 13, 2012
      NTL 7.01.25
      Please check to see if it's me but this clip gives me -,1050.03 as a result for both these lines.

      ^!Prompt ^$Calc(-50.02 - 1,000.01)$
      ^!Prompt ^$Calc(-50.02 - 1,000.01;2;".,")$

      (I still haven't seen a reply for my reports of commas sometimes being generated for four digit numbers seemingly at random.)

      Joy
    • flo.gehrke
      ... Confirmed! I see a wrong formatting here too: ^!Info ^$Calc(20,000.00-10,000.00;2;.,)$ -- 10,000.00 = correct But... ^!Info
      Message 2 of 2 , Sep 14, 2012
        --- In ntb-clips@yahoogroups.com, "joy8388608" <mycroftj@...> wrote:
        >
        > NTL 7.01.25
        > Please check to see if it's me but this clip gives me -,1050.03 as a result for both these lines.
        >
        > ^!Prompt ^$Calc(-50.02 - 1,000.01)$
        > ^!Prompt ^$Calc(-50.02 - 1,000.01;2;".,")$
        >
        > (I still haven't seen a reply for my reports of commas sometimes being generated for four digit numbers seemingly at random.)
        >
        > Joy

        Confirmed! I see a wrong formatting here too:

        ^!Info ^$Calc(20,000.00-10,000.00;2;.,)$ --> 10,000.00 = correct

        But...

        ^!Info ^$Calc(-20,000.00-10,000.00;2;.,)$ --> -3,0000.00 = ???

        Regards,
        Flo

        Ntb Pro 7.01 / Windows XP SP3
      Your message has been successfully submitted and would be delivered to recipients shortly.