Re: [WebDNA] drop off not round off
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 106531
interpreted = N
texte = --00151747616e4c81a004a0fc28f0Content-Type: text/plain; charset=ISO-8859-1It works! Thanks for that!But as a unix, how does each code do?[grep search=(.*)[0-9]&replace=\1][the_value][/grep]Thanks again... JVOn Wed, Apr 13, 2011 at 9:45 PM, William DeVaul 
 wrote:> [grep search=(.*)[0-9]&replace=\1][the_value][/grep]>> This should drop the last number in your example.  The grep in WebDNA is> somewhat limited in version 6.  Not sure about version 7 or later.>> Bill>> On Tue, Apr 12, 2011 at 5:24 PM, sgbc cebu  wrote:>>> Hi,>>>> How to>> use actual numbers (1)>> to get wished results (3)>> of *.407* and not *.408*>> in webdna?>>>> Intend to "dropped off" some digits not "round off">>>>>>    *1* *2* *3* *Actual>> Numbers* *DNA>> [Format 3f]* *Wished>> Result* 0.6649 0.665 0.664 0.2571 0.257 0.257 0.4078 0.408 0.407>>>> Thanks,>>>> Jess>>>> --------------------------------------------------------- This message is>> sent to you because you are subscribed to the mailing list . To unsubscribe,>> E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug>> Reporting: support@webdna.us>>>> --------------------------------------------------------- This message is> sent to you because you are subscribed to the mailing list . To unsubscribe,> E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug> Reporting: support@webdna.us>--00151747616e4c81a004a0fc28f0Content-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: quoted-printableIt works! Thanks for that!
But as a unix, how does each code do?
=
[grep search=3D(.*)[0-9]&replace=3D\1]
[the_value][/grep]
Thanks again... JV
On Wed, Apr 13, 2011 =at 9:45 PM, William DeVaul 
<wdevaul@gmail.com> wrote:
[grep search=3D(.*)[0-9]&replace=3D\1][=the_value][/grep]
This should drop the last number in yo=ur example. =A0The grep in WebDNA is somewhat limited in version 6. =A0Not =sure about version 7 or later.=A0
Bill
Hi,
How to
use actual numbers (1)
to get wished results (3)=
of=20.407 and not .408
in webdna?
Intend to "dropped off" some digits not "round off" =
| 1 | 2 | 3 | 
Actual Nu=mbers | DNA [Form=at=203f] | Wished Re=sult | 
| 0.6649 | 0.665 | 0.664 | 
| 0.2571 | 0.257 | 0.257 | 
| 0.4078 | 0.408 | 0.407 | 
<=/tbody>
Thanks,=20
Jess 
--00151747616e4c81a004a0fc28f0--
Associated Messages, from the most recent to the oldest:
--00151747616e4c81a004a0fc28f0Content-Type: text/plain; charset=ISO-8859-1It works! Thanks for that!But as a unix, how does each code do?[grep search=(.*)[0-9]&replace=\1][the_value][/grep]Thanks again... JVOn Wed, Apr 13, 2011 at 9:45 PM, William DeVaul  wrote:> [grep search=(.*)[0-9]&replace=\1][the_value][/grep]>> This should drop the last number in your example.  The grep in WebDNA is> somewhat limited in version 6.  Not sure about version 7 or later.>> Bill>> On Tue, Apr 12, 2011 at 5:24 PM, sgbc cebu  wrote:>>> Hi,>>>> How to>> use actual numbers (1)>> to get wished results (3)>> of *.407* and not *.408*>> in webdna?>>>> Intend to "dropped off" some digits not "round off">>>>>>    *1* *2* *3* *Actual>> Numbers* *DNA>> [Format 3f]* *Wished>> Result* 0.6649 0.665 0.664 0.2571 0.257 0.257 0.4078 0.408 0.407>>>> Thanks,>>>> Jess>>>> --------------------------------------------------------- This message is>> sent to you because you are subscribed to the mailing list . To unsubscribe,>> E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug>> Reporting: support@webdna.us>>>> --------------------------------------------------------- This message is> sent to you because you are subscribed to the mailing list . To unsubscribe,> E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug> Reporting: support@webdna.us>--00151747616e4c81a004a0fc28f0Content-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: quoted-printableIt works! Thanks for that!
But as a unix, how does each code do?
=
[grep search=3D(.*)[0-9]&replace=3D\1]
[the_value][/grep]
Thanks again... JV
On Wed, Apr 13, 2011 =at 9:45 PM, William DeVaul 
<wdevaul@gmail.com> wrote:
[grep search=3D(.*)[0-9]&replace=3D\1][=the_value][/grep]
This should drop the last number in yo=ur example. =A0The grep in WebDNA is somewhat limited in version 6. =A0Not =sure about version 7 or later.=A0
Bill
Hi,
How to
use actual numbers (1)
to get wished results (3)=
of=20.407 and not .408
in webdna?
Intend to "dropped off" some digits not "round off" =
| 1 | 2 | 3 | 
Actual Nu=mbers | DNA [Form=at=203f] | Wished Re=sult | 
| 0.6649 | 0.665 | 0.664 | 
| 0.2571 | 0.257 | 0.257 | 
| 0.4078 | 0.408 | 0.407 | 
<=/tbody>
Thanks,=20
Jess 
--00151747616e4c81a004a0fc28f0--
sgbc cebu 
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
 
Aaron kant add (or whatever it was) (2000)
 
$Quit, $CloseDatabase corrections (1997)
 
Using WC for Bulk Emailings (1997)
 
Summary search -- speed (1997)
 
emailer (1997)
 
[WebDNA] Cheers (2008)
 
GuestBook example (1997)
 
mime types (2003)
 
How to best sort in a pre-defined item-by-item order ... (2003)
 
ASP and WebCatalog ?? (2000)
 
Security Hole - NetCloak Update (1998)
 
Problems with [Applescript] (1997)
 
Bug or syntax error on my part? (1997)
 
[date format] w/in sendmail (1997)
 
[ShowIf] if the varieable exists (1998)
 
Bug Report, maybe (1997)
 
 Store Builder shipping methods (2003)
 
[WebDNA] Webcat 6 - MacIntel - iTools  (2008)
 
Caching [include] files ... (1997)
 
Bug? (1997)