function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pavani Akella 9Pavani Akella 9 

Help changing the Radius in Apex trigger

Hello,;

Can someone please help me change the miles from 1 mile to 1/4th mile please. Below is the apex code

DISTANCE(BillingAddress, GEOLOCATION(' +event.Latitude__c + ', ' +event.Longitude__c + '), \'mi\') < 1') ;

Thanks in advance
Raj VakatiRaj Vakati
try this
 
DISTANCE(BillingAddress, GEOLOCATION(' +event.Latitude__c + ', ' +event.Longitude__c + '), \'mi\') < 0.25') ;