• 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
Re: String To BigDecimal - Is it Possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String To BigDecimal - Is it Possible?


  • Subject: Re: String To BigDecimal - Is it Possible?
  • From: Kaj Hejer <email@hidden>
  • Date: Tue, 16 Sep 2003 23:15:39 +0200

At 11:44 +0100 16-09-2003, Jonathan Fleming wrote:
I'm trying to find out if it's posible to convert a String to a BigDecimal in WO... is it?

If so How. Can anyone help?



Hi!

I have never tried this myself, but is it possible to just use the BigDecimal constructor?

See <url:http://java.sun.com/j2se/1.3/docs/api/java/math/BigDecimal.html#BigDecimal(java.lang.String)>

...or use the BigDecimal constructor taking a double as parameter by creating a double by creating a Double object, see <url:http://java.sun.com/j2se/1.3/docs/api/java/lang/Double.html#Double(java.lang.String)>



-Kaj :)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >String To BigDecimal - Is it Possible? (From: "Jonathan Fleming" <email@hidden>)

  • Prev by Date: Which datatype? NSMutableArray, Vector, Array ???
  • Next by Date: Re: Which datatype? NSMutableArray, Vector, Array ???
  • Previous by thread: Re: String To BigDecimal - Is it Possible?
  • Next by thread: wostats - This Request Requires A User Login
  • Index(es):
    • Date
    • Thread