3. Juni 200223 j es gibt doch ein read.Int() --- gibt es auch ein readFloat() ? ich probiers schon ewig aber irgendwie kennt er das nicht??
3. Juni 200223 j Original geschrieben von markok. es gibt doch ein read.Int() --- gibt es auch ein readFloat() ? ich probiers schon ewig aber irgendwie kennt er das nicht?? Falls das ein Schreibfehler ist und du readInt() meinst, gibt es die Funktion und readFloat() dementsprechend auch. Und zwar in den Klassen: readFloat() - Method in class java.io.ObjectInputStream Reads a 32 bit float. readFloat() - Method in interface java.io.DataInput Reads four input bytes and returns a float value. readFloat() - Method in class java.io.RandomAccessFile Reads a float from this file. readFloat() - Method in class java.io.DataInputStream See the general contract of the readFloat method of DataInput. readFloat() - Method in interface java.sql.SQLInput Reads the next attribute in the stream as a float in the Java programming language. Gruß Jaraz
3. Juni 200223 j hab ich jetzt importiert, aber trotzdem findet er die Methode readFloat() nicht, ich muss doch nicht noch irgendwas anderes ändern oder? hab doch bloss readInt() in float umgewandelt, die definition geändert, und die io importiert, der rest ist doch gleich??
Archiv
Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.