help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting value behind decimal point


From: Sebastian Schubert
Subject: Re: Getting value behind decimal point
Date: Wed, 18 Aug 2010 17:11:04 +0200
User-agent: KMail/1.13.5 (Linux/2.6.34-12-desktop; KDE/4.4.4; x86_64; ; )

Hi,

On Mittwoch 18 August 2010 16:51:31 ZWD wrote:
> Hi there,
> 
> I need to get the value behind the decimal point.
> 
> example:   12/5 = 2,4
> now I want to get the value 0,4 in e.g. a
> so  a = 0,4

a = mod(12/5,1)

Sebastian

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]