Numeric type larger than int32

I’m trying to implement a currency class using int64 as base type. Is there any way to implement a property editor for that particular field? Currently, int32 is not big enough for money representation and float is not precise enough, although it’s just a game and float could probably do.

The blueprint editor only supports int32.

If you need to use uint64, I recommend implementing that within a C++ class backend. You’ll probably have to design around this limitation. I’d create a method which parses a string of numbers and converts it into a uint64 and vice versa.

Alternatively, you could do something crazy, where you concatenate two int32’s together within a blueprint. When the first int rolls over its 32 bit value, it increments the second int and then resets to zero.

I ended up wrapping an int64 in a UObject and doing conversion with UFUNCTIONs.