A child panel acts like a top-level panel, except that you cannot move it outside the boundaries of its parent. To create it, simply pass the handle of the parent panel as the first parameter in LoadPanel function. A good example for it is shipped with CVI: you'll find it in
\samples\userint\panels.prj.
As for the Scan function, the online documentation is plenty of good examples. You can read 'Formatting and I/O Programming Examples' found in Help >> Cvi Libraries menu, item 'Formatting and I/O'.
The modf function in the ANSI C library is what you need to partition a number into its integer and fractional part.
Hope this helps
Roberto