Re: [WebDNA] drop off not round off

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106522
interpreted = N
texte = --00504502b2f2ffc7bf04a0cf3281 Content-Type: text/plain; charset=ISO-8859-1 Actually, I am thinking that grep is quite extensive. It is an old UNIX tool and I believe fully intact too but never documented. Duh know sure... -Scott On Wed, Apr 13, 2011 at 9:45 AM, 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 > --00504502b2f2ffc7bf04a0cf3281 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Actually,

I am thinking that grep is quite extensive. It= is an old=A0UNIX=A0tool and I believe fully intact too but never documente= d.

Duh know sure...

-Scot= t=A0

On Wed, Apr 13, 2011 at 9:45 AM, Willia= m DeVaul <wdevaul= @gmail.com> wrote:
[grep search=3D(.*)[0-9]&replace=3D\1][the_value][/grep]

=
This should drop the last number in your example. =A0The grep in WebDN= A is somewhat limited in version 6. =A0Not sure about version 7 or later.= =A0

Bill


On Tue, Apr 12, 2011 at 5:24 PM, sgbc cebu <sgbccebu@gm= ail.com> wrote:
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" =


<= /tbody>
123
Actual
Nu= mbers
DNA
[Form= at=20 3f]
Wished
Re= sult
0.66490.6650.664
0.25710.2570.257
0.40780.4080.407

Thanks,=20

Jess


--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to:=20 archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to:=20 archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--00504502b2f2ffc7bf04a0cf3281-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] drop off not round off (Govinda 2011)
  2. Re: [WebDNA] drop off not round off (sgbc cebu 2011)
  3. Re: [WebDNA] drop off not round off (Scott Walters 2011)
  4. Re: [WebDNA] drop off not round off (Brian Fries 2011)
  5. Re: [WebDNA] drop off not round off (William DeVaul 2011)
  6. Re: [WebDNA] drop off not round off (Govinda 2011)
  7. [WebDNA] drop off not round off (sgbc cebu 2011)
--00504502b2f2ffc7bf04a0cf3281 Content-Type: text/plain; charset=ISO-8859-1 Actually, I am thinking that grep is quite extensive. It is an old UNIX tool and I believe fully intact too but never documented. Duh know sure... -Scott On Wed, Apr 13, 2011 at 9:45 AM, 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 > --00504502b2f2ffc7bf04a0cf3281 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Actually,

I am thinking that grep is quite extensive. It= is an old=A0UNIX=A0tool and I believe fully intact too but never documente= d.

Duh know sure...

-Scot= t=A0

On Wed, Apr 13, 2011 at 9:45 AM, Willia= m DeVaul <wdevaul= @gmail.com> wrote:
[grep search=3D(.*)[0-9]&replace=3D\1][the_value][/grep]

=
This should drop the last number in your example. =A0The grep in WebDN= A is somewhat limited in version 6. =A0Not sure about version 7 or later.= =A0

Bill


On Tue, Apr 12, 2011 at 5:24 PM, sgbc cebu <sgbccebu@gm= ail.com> wrote:
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" =


<= /tbody>
123
Actual
Nu= mbers
DNA
[Form= at=20 3f]
Wished
Re= sult
0.66490.6650.664
0.25710.2570.257
0.40780.4080.407

Thanks,=20

Jess


--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to:=20 archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to:=20 archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us

--00504502b2f2ffc7bf04a0cf3281-- Scott Walters

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:

For those of you not on the WebCatalog Beta... (1997) autosensing lanague selection (1997) Possible Bug in 2.0b15.acgi (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) RePost: NAT and the CART (1999) Webcat/Webmerchant (1998) Running 2 two WebCatalog.acgi's (1996) Nav. 4 probs with cart - Serious problem (1997) WebCatalog as another user on mac osx (2001) Subtotal Not Calculated on Invoice.html (1998) Multiple prices (1997) Paranoid about serial numbers...not (1998) Server problem? (1998) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Not really WebCat (1997) Follow-Up to: Removing [showif] makes a big difference in speed (1997) [authenticate] (2000) Answer: WebDelivery downloads alias, not original ? (1997) Format of Required fields error message (1997) Date Bug (1998)