About float

41-44 of 44Refresh
Issue
1

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

IQuantity { @Entity public class FloatQuantity extends Quantity<Float> implements IFloatQuantity
Result
0

[ODB1] Chapter 7 - JDOQL Queries

, 0xFFFF, 07777, ... long 2003L, -127L, 0L, 0xFFFFL, 07777L, ... float 3.14F, 0f, 1e2f, -2.f, 5.04e ... types (Byte, Short, Character, Integer, Long, Float, Double), as well as BigInteger and BigDecimal ... , float, double). Logical Operators Logical operators (&&, ||, !) generate complex boolean expressions
Result
0

[ODB1] Chapter 3 - Persistent Classes

are also persistent types: All the primitive types - boolean, byte, short, char, int, long, float and double. Selected classes in package java.lang: Boolean, Byte, Short, Character, Integer, Long, Float, Double ... to float and from float to int) the old value is converted automatically to the new type
Result
0

[ODB1] Chapter 4 - JDO Metadata

, byte, short, char, int, long, float or double) embedded wrapper (Boolean, Byte, Short, Character, Integer, Long, Float or Double) embedded java.lang.String embedded java.util.Date external (non