Java Integer to String intToStr(int value)

Here you can find the source of intToStr(int value)

Description

int To Str

License

Open Source License

Declaration

static String intToStr(int value) 

Method Source Code

//package com.java2s;

public class Main {
    static String intToStr(int value) {
        return new String(new byte[] { (byte) ((value & 0xff000000) >> 24),
                (byte) ((value & 0x00ff0000) >> 16),
                (byte) ((value & 0x0000ff00) >> 8),
                (byte) ((value & 0x000000ff)) });
    }// w w  w. j a v  a 2s .c  o  m
}

Related

  1. integerToString(Integer value)
  2. intToStr(int nValue)
  3. intToStr(int priceInt)
  4. intToStr(int val)
  5. intToStr(int valor, int len)
  6. intToStr(int value, int len)
  7. inttostr(String intStr)
  8. intToStr3(final int param)
  9. intToString(final int param)