I have a simple query where I needed to see if a qty had decimal places. I was instructed to use field_name%1 as shown below. It works. I'm just trying to understand the process so I can learn more. What is the %1 doing/calculating?
SELECT m.item_id
, l.qty_on_hand
FROM inv_loc l
INNER JOIN inv_mast m
ON m.inv_mast_uid = l.inv_mast_uid
WHERE l.qty_on_hand%1 <> 0