Skip to content

cant input thousand separator as integer #275

Description

@KevinFernandaN

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions