Skip to content

Commit

Permalink
Set variable type as decimal
Browse files Browse the repository at this point in the history
  • Loading branch information
raac09 committed Jan 8, 2025
1 parent e985796 commit 3540843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion force-app/ereg-handler/classes/KafkaEnhetHandler.cls
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public without sharing class KafkaEnhetHandler implements IKafkaMessageConsumer
* @param hasRegisteredEmployees Contains boolean value that indicates if the employer har registered any employees
* @return Group of number of employees.
*/
private static String getNumberOfEmployeesGroup(Integer numberOfEmployees, Boolean hasRegisteredEmployees) {
private static String getNumberOfEmployeesGroup(Decimal numberOfEmployees, Boolean hasRegisteredEmployees) {
if (numberOfEmployees <= 4 && hasRegisteredEmployees == true) {
return '1-4';
} else if (numberOfEmployees >= 5 && numberOfEmployees <= 10) {
Expand Down

0 comments on commit 3540843

Please sign in to comment.