Thanks, Ron.  I needed to preserve the negative, so I append a minus sign, then use your snippet.
,

str := '($1,925.46)' .
('(*)' match: str ) ifTrue: [str := '-', str].
str := str reject:  [:e | '($,)' includes: e].
num := str asNumber  => -1925.46

Sincerely,

Joe.




View this message in context: Re: '($1,925.46)' asNumber
Sent from the Squeak - Beginners mailing list archive at Nabble.com.