To display a number in a dialog using AppleScript, just treat it like a string and you'll be fine. Here's a direct example:
display dialog 4.79
And here's an example using a variable:
set myNum to 4.88 display dialog myNum