• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cutting strings from right to left
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cutting strings from right to left


  • Subject: Cutting strings from right to left
  • From: Sanri Parov <email@hidden>
  • Date: Fri, 9 Dec 2005 20:17:09 +0100

Hi everybody,

I've got the goal to transform these strings

-8.230000
120.000000

into

-8.23
120.00

by mean of cutting 4 decimal zeroes.
Is there a way to do this easily ?
Many thanks !!


--
Sanri Parov from iBook




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Cutting strings from right to left
      • From: "a.d. jensen" <email@hidden>
    • Re: Cutting strings from right to left
      • From: Scott Ellsworth <email@hidden>
  • Prev by Date: HTTP Pipelining
  • Next by Date: Re: Cutting strings from right to left
  • Previous by thread: HTTP Pipelining
  • Next by thread: Re: Cutting strings from right to left
  • Index(es):
    • Date
    • Thread