I think we need to know what sort of coordinate system your numbers are in - they look like they might be UTM (universal transverse mercator), but if so, there should also be a 'Zone' parameter (e.g. 55H). This document describes how to convert from UTM to DMS (and provides parameters for the various geographic datums) and also provides Javascript which you should be able to convert into Java pretty easily.
Also, have a look at this stackoverflow post, which talks about java packages which can do coordinate system conversion.
Then again, maybe your code wants data in exactly the format they're already in, in which case all you need to do is cast your decimals to doubles.