While building your application, you may occasionally have actions that should require the user to confirm their password before the action is performed or before the user is redirected to a sensitive area of the application. Laravel includes built-in middleware to make this process a breeze. Impl...
public function convert($value): string { if(is_null($value)) { if (is_null($value)) { return '0'; } $value = strval($value); Log::debug(sprintf('Start with amount "%s"', $value)); $len = strlen($value); $decimalPosition = $len - 3; $altPosition = $len - 2; $decima...