Oscar Benjamin wrote:
In C and some other languages the f suffix indicates a numeric literal that has type "float" e.g. "6.0f". You can use upper case there as well but the convention is lower case and to include the .0 when it's an integer. I just though that 3F looks sufficiently distinct from the way it's typically done in C.
I'm not sure it's different enough; I've been looking at Java code recently that uses uppercase F.
An alternative would be to use 'r' or 'R' for 'rational', which would eliminate any chance of confusion.