Simple math without js

Welcome to the community @Arjan_den_Ouden

If you provide an example of the input and the desired output, I can help you with the function node.