📜  在 url 中发送浮点值 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:58.299000             🧑  作者: Mango

代码示例1
//In sender:
$url = /*whatever you need here */ . floor($floatValue) . "/" . (($floatValue - floor($floatValue)) * 100);

//In receiver:
public function receiver($integerSide, $decimalSide) {
  $floatValue = $integerSide + ($decimalSide / 100);
}