Java Integer to intToPlusMin(int i)

Here you can find the source of intToPlusMin(int i)

Description

int To Plus Min

License

Open Source License

Declaration

public static String intToPlusMin(int i) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String intToPlusMin(int i) {
        switch (i) {
        case 0:/*from  w  w w  .j a va  2 s .  com*/
            return "\u00A74-2";
        case 1:
            return "\u00A74-1";
        case 2:
            return "\u00A770";
        case 3:
            return "\u00A72+1";
        case 4:
            return "\u00A72+2";
        }
        return "0";
    }
}

Related

  1. intToOneByte(int value)
  2. intToOneByteArray(int number)
  3. IntToPackage(int pack)
  4. intToPaddedString(int value, int pad)
  5. intToPercent(int value)
  6. intToPrefixCoded(final int val, final int shift, final char[] buffer)
  7. intToRegisters(int v)
  8. intToRGB(int color)
  9. IntToRGB(int rgbInt)