Batch decimal placing or workaround

  batch-file, cmd, command-prompt, windows

I need help with the following code i have a deadline for a project and i decided i wanted to do it in batch and its too late for me to change the programming language rn.

set /A g=%s%(1+%d1%/100)(1+%d2%/100)(1+%d3%/100(%c%+%x%))

i need a bit of help for a workaround or solution for the %d1%/100 and the other d2 and d3.

Source: Windows Questions