I'm not float/double guy but yes, it make sense. With that, we can use this.
input.decimal, input.integer, input.double { text-align: right; } I also understand the Anthony's point. My table actually has five decimal field for different pricing for the product, which look really weird but there is also text-like integer value used for ID or status for example. If we keep the current, then I will just add this to my blog post in case someone looking for the solution.