Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant input thousand separator as integer #275

Open
KevinFernandaN opened this issue Nov 7, 2021 · 0 comments
Open

cant input thousand separator as integer #275

KevinFernandaN opened this issue Nov 7, 2021 · 0 comments

Comments

@KevinFernandaN
Copy link

hello im really new to jquery and laravel, and i've been trying to inputing an money value like 500.000, the thousand separator was working well but there was problem like :

my input type is text and i've convert it into int like this :

input type :
<input type="text" name="nett_budget" id="nett_budget_edit" class="form-control" autocomplete="off">

controller :
$insert['nett_budget'] = intval($request->get('nett_budget'));

and here is the index.php maskmoney :
$('#nett_budget_edit').maskMoney();

when the data is being sent to database and the only number that being catch is 500. Is there something that can be done to fix the problem, again thank you for your time and sorry for the trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant