Use "subroutine" in a sentence

1. More broadly, a subroutine that returns a "new" object may be referred to as a "factory", as in factory method or factory function.

Nói rộng hơn, một chương trình con trả về một đối tượng "mới" có thể được gọi là "factory", như trong phương thức factory hay hàm factory.

2. So, when the subroutine compounds the interest... it uses all these extra decimal places... that just get rounded off.

Khi chương trình con tính toán lợi nhuận... nó dùng toàn bộ các số thập phân tối giản... luôn được làm tròn.