private void writeObject ( java . io . ObjectOutputStream out ) throws java . io . IOException { // we just write the textual description to the stream, so we // have an implementation-independent streaming format out . writeUTF ( this . toString ( ) ) ; out . writeObject ( this . locale ) ; out . writeInt ( this . roundingMode ) ; }
Writes this object to a stream .