EIGRP Wide Metrics

Good day Network Lessons Team!
I was investigating the formula of calculating short composite metric with the relic components from IGRP: Load, along with the Reliability.
A)
256*((K1Scaled Bandwidth) + (K2Scaled Bandwidth)/(256 – Load) + (K3Scaled Delay)(K5/(Reliability + K4)))

I saw a lot of sources where we can find the same formula A , but there is another one B (the last parameter (K5/(Reliability + K4) is out of parentheses)
B)
256 * [K1Scaled Bandwidth + K2Scaled Bandwidth/(256 – Load) + K3*Scaled Delay] * K5/(Reliability + K4)

They give us different results. I tested it in GNS3 and observe that formula B is right. What have I missed?