You likely need to wrap the second part in [[ ]] brackets to force roll20 to resolve the calculation. Something like /r floor(@{Att1}/10)d[[floor(@{Att2}/10)]]! If that doesnt work, try wrapping the first part as well, but i dont think this should be necessary: /r [[floor(@{Att1}/10)]]d[[floor(@{Att2}/10)]]! Actually just as I'm about to send, I notice your calculation has a missing bracket. You can try this version as well: /r floor(@{Att1}/10)d(floor(@{Att2}/10))! But I think the first roll in this post is probably the correct fix.