inline text calculator