Edittext show formatting number with kotlin
up vote
0
down vote
favorite
I have an edittext
and want to show 1.000
or 10.000
or 100.000
if I input 1000
, 10000
, 100000
heres my code :
et_isi_jumlah.setText("${ NumberFormat.getNumberInstance(Locale("id")).format(Utils.jumlah)}")
kotlin formatting numbers
add a comment |
up vote
0
down vote
favorite
I have an edittext
and want to show 1.000
or 10.000
or 100.000
if I input 1000
, 10000
, 100000
heres my code :
et_isi_jumlah.setText("${ NumberFormat.getNumberInstance(Locale("id")).format(Utils.jumlah)}")
kotlin formatting numbers
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have an edittext
and want to show 1.000
or 10.000
or 100.000
if I input 1000
, 10000
, 100000
heres my code :
et_isi_jumlah.setText("${ NumberFormat.getNumberInstance(Locale("id")).format(Utils.jumlah)}")
kotlin formatting numbers
I have an edittext
and want to show 1.000
or 10.000
or 100.000
if I input 1000
, 10000
, 100000
heres my code :
et_isi_jumlah.setText("${ NumberFormat.getNumberInstance(Locale("id")).format(Utils.jumlah)}")
kotlin formatting numbers
kotlin formatting numbers
edited 2 days ago
eibersji
427420
427420
asked 2 days ago
Ahmed
33
33
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
draft saved
draft discarded
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53238179%2fedittext-show-formatting-number-with-kotlin%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password