[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Format() Comma Separator control ?



PureBytes Links

Trading Reference Links




There 
I go again.   You could go into AB's preferences option Misc tab and 
remove the Thousand separator there.  Forget about the control panel.  
And TJ will now post a way to do in C++ that also works in 
AFL.
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>d

  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: dingo 
  [mailto:dingo@xxxxxxxxxx] Sent: Sunday, April 27, 2003 12:54 
  AMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: [amibroker] 
  Format() Comma Separator control ?
  You 
  may have to go into the control panel/ regional and language options/Regional 
  Options tab Customize button and just delete the "," in "Digit Grouping Symbol 
  for numbers and currency.
  <FONT face=Arial color=#0000ff 
  size=2> 
  <FONT face=Arial color=#0000ff 
  size=2>d
  
    
    <FONT 
    face=Tahoma size=2>-----Original Message-----From: Mr Valley 
    [mailto:valleymj@xxxxxxxxx] Sent: Sunday, April 27, 2003 12:15 
    AMTo: AmibrokerSubject: [amibroker] Format() Comma 
    Separator control ?
    
    <FONT face=Arial color=black 
    size=2><SPAN 
    >How 
    can control the Format of a value of a variable to 
    <FONT face=Arial color=blue 
    size=2><SPAN 
    >eliminate<SPAN 
    class=EmailStyle15><SPAN 
    > the 
    comma separator in numbers?
    <FONT face=Arial color=black 
    size=2><SPAN 
    > 
    <FONT face=Tahoma 
    color=black size=1><SPAN 
    >shares = 
    <SPAN 
    >2000<FONT 
    face=Tahoma color=black size=1><SPAN 
    >;
    <FONT face=Tahoma 
    color=black size=1><SPAN 
    > 
    <FONT face=Tahoma 
    color=black size=1><SPAN 
    >Title<FONT 
    face=Tahoma color=black size=1><SPAN 
    > 
    =<SPAN 
    >"\""+WriteVal(shares,1.0)+"<FONT 
    face=Tahoma color=black size=1><SPAN 
    >\<FONT 
    face=Tahoma color=fuchsia size=1><SPAN 
    >""<FONT 
    face=Tahoma color=black size=1><SPAN 
    >;
    <FONT face=Tahoma 
    color=black size=1><SPAN 
    > 
    <FONT face=Tahoma 
    color=black size=1><SPAN 
    >Result = 
    &#8220;2,000&#8221;
    <FONT face=Tahoma 
    color=black size=1><SPAN 
    > 
    <FONT face=Tahoma 
    color=black size=1><SPAN 
    > 
    <FONT face=Tahoma 
    color=black size=1><SPAN 
    >Shares1 = 
    <SPAN 
    >2000<FONT 
    face=Tahoma color=black size=1><SPAN 
    >;
    <FONT face=Tahoma 
    color=black size=1><SPAN 
    > 
    <FONT face=Tahoma 
    color=black size=1><SPAN 
    >Title<FONT 
    face=Tahoma color=black size=1><SPAN 
    > 
    =<SPAN 
    >"\""+WriteVal(shares1,Number)+"<FONT 
    face=Tahoma color=black size=1><SPAN 
    >\<FONT 
    face=Tahoma color=fuchsia size=1><SPAN 
    >""<FONT 
    face=Tahoma color=black size=1><SPAN 
    >;
    <FONT face=Arial color=black 
    size=2><SPAN 
    > 
    <FONT face=Arial color=black 
    size=2><SPAN 
    >Result 
    = &#8220;2,000&#8221;
    <FONT face=Arial color=black 
    size=2><SPAN 
    > 
    <FONT face=Arial color=black 
    size=2><SPAN 
    > 
    <FONT face=Arial color=black 
    size=2><SPAN 
    >Mr 
    ValleySend BUG REPORTS 
    to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
    suggest@xxxxxxxxxxxxx-----------------------------------------Post 
    AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: 
    <A 
    href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
    group FAQ at: <A 
    href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
    Your use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of Service. 
    Send 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.