I would like to print a slice of float64 values line by line having all decimal points at the same position in each line. I could print the integer part right justified, the decimal point and then the fractional part left justified. I assume, there is a better way, but I could not find it so far. Any proposals?
How to print a list of float64 with justified decimal point in Go - Stack Overflow
评论列表(0)
- 暂无评论