xsl-list
[Top] [All Lists]

Re: [xsl] Truncate input

2006-09-11 07:16:50
substring() function may suffice if you don't need to round.

-S

On 9/11/06, m(_dot_)core(_at_)aimconsulting(_dot_)it 
<m(_dot_)core(_at_)aimconsulting(_dot_)it> 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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>