An error occurred when I run this SOQL query.
SELECT long_number FROM some_table WHERE long_number <= 1638369480000
Error message:
MALFORMED_QUERY: some_table WHERE long_number <= 1638369480000
ERROR at Row:1:Column:57 For input string: "1638369480000"
I solved the error by adding ".0" to the end of long_number
.
SELECT Timestamp__c FROM IoTRM_FacilityLog__c WHERE Timestamp__c <= 1638369480000.0
Can anyone help me understand why adding ".0" can solve this error?