Re: How to fuzz the last four digits of a lat/long?
| Newsgroups | gmane.text.xml.xsl.general.mulberrytech |
|---|---|
| Message-ID | <[email protected]> |
>=20
> But, but, but, ....
>=20
> I really want to do the transformation in one step.
Why?
There are clearly two separate operations here - rounding the value and the=
n formatting it. I would do
round($x, 2) =3D> format-number("000.000000")
Michael Kay
Saxonica
> Is there a way to do the transformation in one step (using the built-in X=
SLT or XPath functions)? As best I can tell, I can't do it in one step usin=
g the format-number() function, right?
>=20
> Ditto for the longitude transformation.
>=20
> /Roger
>=20
>=20
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/3329386
or by email: [email protected]
--~--