Here is the JAVA Code to convert bytes in MB upto 1 decimal place.
public void getSizeInMB()
{
long sizeinBytes = 200*1024;
long sizeInKB = sizeinBytes/1024;
long sizeInMBInt = sizeInKB/1024;
float sizeInMB = sizeInKB/1024.0f;
String size = sizeInMB+"";
int k = size.indexOf('.');
size = sizeInMBInt+"."+size.charAt(k+1);
System.out.print(size);
}
public void getSizeInMB()
{
long sizeinBytes = 200*1024;
long sizeInKB = sizeinBytes/1024;
long sizeInMBInt = sizeInKB/1024;
float sizeInMB = sizeInKB/1024.0f;
String size = sizeInMB+"";
int k = size.indexOf('.');
size = sizeInMBInt+"."+size.charAt(k+1);
System.out.print(size);
}
Dịch vụ bán: Mã nguồn game đánh bài online đổi thưởng, Mã nguồn game bầu cua, Mã nguồn game Tài Xỉu, Mã nguồn game Nổ hũ, Mã nguồn game lô đề, Mã nguồn game Xổ Số, Mã nguồn game Bắn Cá, Mã nguồn game Xóc Đĩa
ReplyDelete토토사이트 What an interesting story! 먹튀검증I'm glad I finally found 안전놀이터what I was looking for.토토사이트 Thank you for letting me see this useful information. 꽁머니There's a story on my site that you might find interesting. 꽁머니I really hope you visit once.안전놀이터 I will also visit this site often.스포츠중계 In addition, https://mtboan.com/COVID-19 is becoming a problem all over the world these days. 먹튀보안관 I hope there's no harm to you and your family. 먹튀가디언 Thank youhttps://twiddeo.com/And, 먹튀검증토토사이트 Already 2020 is nearing the end. 메이저토토사이트 There were so many incidents this year. 사설토토 I am still feeling a lot of 토토사이트 inconvenience and birds due to 메이저토토사이트 the special virus. 먹튀사이트조회 It's already getting 토토사이트 a lot colder, 안전놀이터 so make sure to 먹튀검증 pack warm clothes. 먹튀요기요 Please spend the rest of https://mtygy.com/ your life happy. 메이저놀이터 Then, have a nice day!놀이터토토
ReplyDelete