Let’s establish some basic premise:
Vector Example
A=0%= Vector 0,0,0
B=100%=Vector 20,20,20
Input =0.8=Expected Vector 16,16,16
BInput = 20,20,200.8 = 16,16,16.
Integer Example
A=0
B=50
Input=0.675
Binput=500.675=33.75
So your formula is:
B*Input