For my case
Example:
private static int w(float widthExcel) { return (int) Math.floor((widthExcel * Units.DEFAULT_CHARACTER_WIDTH + 5.5) / Units.DEFAULT_CHARACTER_WIDTH * 256); } sheet.setColumnWidth(0, w(10.71f))