Question: Period in a decimal number

How can I write a decimal number with period in maple? For example, in the following code;

number := 3.123123123123:
convert(number, rational);

I got 1040 / 333. However if number := 3.123123 then output is 76123 / 24374, so, in order to solve the exercise assign to the variable number a value of 3.123123123123123123123123123... How can I do it in abreviate form?

Please Wait...