$WOOCS->back_convert()
global $WOOCS;
$res=$WOOCS->back_convert(40,0.8343,2);
- 40 - amount in GBP
- 0.8343 - rate of 1 GBP relatively to 1 EUR. Currency rate can be get by the next function: $WOOCS->get_currencies()
- 2 - decimals in the result value $res