When I configure a percentage calculation in the following way:
I get the following result:
I would have expected 30%. If this is a bug in the function I can make a patch for it.