Welcome, Guest! Log In | Create Account

Changeset 1907

Show
Ignore:
Timestamp:
11/18/09 20:42:17 (3 months ago)
Author:
borrillis
Message:

- Real

  • Fixed Real( string ) and (Real)string to use [float|double].Parse() instead of [float|double].TryParse?() as the Xbox doesn't have TryParse?()
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Projects/Axiom/Engine/Math/Real.cs

    r1906 r1907  
    216216        public Real( string value ) 
    217217        { 
    218             Numeric.TryParse( value, out this._value ); 
     218            this._value = Numeric.Parse( value ); 
    219219        } 
    220220 
     
    368368        { 
    369369            Real retval; 
    370             Numeric.TryParse( value, out retval._value ); 
     370            retval._value = Numeric.Parse( value ); 
    371371            return retval; 
    372372        }