Good question. I'm a beginner as well but here's what I know.
floats were left out on j2me. Including them will cause the code to not compile. If you needed it for money values and it is very simple, you can use two integers, one for dollars and one for cents (or whatever currency is desired).