Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #11458

Re: Bug in Val()

From Martin <Martin@spam.spam>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Bug in Val()
Date 2018-03-06 15:17 +0000
Organization A noiseless patient Spider
Message-ID <p7mbec$gdj$1@dont-email.me> (permalink)
References <p7m519$u20$1@dont-email.me> <2b3d825c-3127-4ca8-ad1b-383feb2a75c3@googlegroups.com>

Show all headers | View raw


Just use usual UK , for thousands and a decimal point

On 06/03/2018 14:05, dlzc wrote:
> Dear Martin:
> 
> On Tuesday, March 6, 2018 at 6:28:11 AM UTC-7, Martin wrote:
>> Working with a CSV and getting the data into our software
>>
>> "500,000.00"
>>
>> Val() returns 500 NOT 500000
> 
> What is set as your decimal separator, and thousands separator, when you do the conversion?
> 
> cConvertNow := strtran( cStringWithCommas, "," )
> 
> David A. Smith
> 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug in Val() Martin <Martin@spam.spam> - 2018-03-06 13:28 +0000
  Re: Bug in Val() dlzc <dlzc1@cox.net> - 2018-03-06 06:05 -0800
    Re: Bug in Val() Martin <Martin@spam.spam> - 2018-03-06 15:17 +0000
  Re: Bug in Val() Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2018-03-06 15:15 +0100
    Re: Bug in Val() Martin <Martin@spam.spam> - 2018-03-06 15:18 +0000
  Re: Bug in Val() Mathias <mathias.hakansson@consultec.se> - 2018-03-06 23:56 -0800

csiph-web