"double" variable truncated in text object

Valerio Biscione valerio.biscione at gmail.com
Tue Mar 19 16:30:13 UTC 2013


Hi McFarlane. I have tried to use the attribute but the result is the same. 
What are the reasons for preferring the attribute over a variable? 
Anyway thank you for your suggestion, I am looking to that topic right now. 

On Tuesday, 19 March 2013 15:30:57 UTC, Valerio Biscione wrote:
>
> Hi. In my software I show, in a text object inside a slide object, the 
> score of the subject. The score is a Double variable and can assume value 
> like 1.2 or 5.0. When I "print" the score variable I would like to show all 
> the value until the first decimal number, but it seems that eprime actually 
> cut the number if it sees it like an integer. For example 5.0 is showed 
> like 5, whereas 1.2 is correctly showed like 1.2 
>
> This is the code that I use in an inline script just before the slide 
> object:
>
> Set theText = 
> CSlideText(Slide6.States(Slide6.ActiveState).Objects("Text1"))
>
> theText.text=subjectScore
>
>
> How can I solve this problem?
>
>

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/vHXa4u4izYcJ.
For more options, visit https://groups.google.com/groups/opt_out.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20130319/d4712a78/attachment.htm>


More information about the Eprime mailing list