[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Truncate input

Subject: Re: Truncate input
From: Steve <subsume@xxxxxxxxx>
Date: Mon, 11 Sep 2006 06:40:10 -0400
Re:  Truncate input
substring() function may suffice if you don't need to round.

-S

On 9/11/06, m.core@xxxxxxxxxxxxxxxx <m.core@xxxxxxxxxxxxxxxx> wrote:
Hi all,

i need to truncate input that can be write in a box i have a var v1=2 if after coma there is more then v1 numbers then it must be truncate to v1 es...

if i insert 3,45678 in the input it let me write only 3,45 because v1=2

i think this must be done in the tags <input > </input>
i'm already in the case that the number is real ecc..

How can i do?..is there an option like <input format="">?

thx for replies

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.