This is the error I'm getting.
System.DmlException: Insert failed. First exception on row 0; first error: NUMBER_OUTSIDE_VALID_RANGE, DC_geocode: value outside of valid range on numeric field: -117.3411: [DC_geocode__c]
The background on this is that I'm passing in two Decimal values(by necessity) to a method, then I try to set the latitude and longitude of a custom Geolocation field by using those two Decimal values and converting them to double values by doing the following.
DC_geocode__latitude__s = decimalvalue1.doubleValue(); DC_geocode__longitude__s = decimalvalue2.doubleValue();
I've set my custom Geolocation field to use these types of values(instead of degrees and minutes) with a precision of 15 decimal places.
Any help you could give me on trying to figure out why this error may be occurring in this instance would be great!