html, body, form { margin: 0; padding: 0; width: 100%; } #calculate { position: relative; width: 177px; height: 110px; background: transparent url(/images/alphabox/embed_functions_inside.gif) no-repeat scroll 0 0; } #i { position: relative; left: 18px; top: 44px; width: 133px; border: 0 none; outline: 0; font-size: 11px; } #eq { width: 9px; height: 10px; background: transparent; position: absolute; top: 47px; right: 18px; cursor: pointer; }

 FractionalPart

 http://functions.wolfram.com/04.05.27.0015.01

 Input Form

 FractionalPart[x] == x - Round[x - 1/2] /; Element[x, Reals] && x >= 0 && !Element[(x + 1)/2, Integers]

 Standard Form

 Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["FractionalPart", "[", "x", "]"]], "\[Equal]", RowBox[List["x", "-", RowBox[List["Round", "[", RowBox[List["x", "-", FractionBox["1", "2"]]], "]"]]]]]], "/;", RowBox[List[RowBox[List["x", "\[Element]", "Reals"]], "\[And]", RowBox[List["x", "\[GreaterEqual]", "0"]], "\[And]", RowBox[List["Not", "[", RowBox[List[FractionBox[RowBox[List["x", "+", "1"]], "2"], "\[Element]", "Integers"]], "]"]]]]]]]]

 MathML Form

 frac ( x ) x - x - 1 2 /; x TagBox["\[DoubleStruckCapitalR]", Function[Reals]] x 0 x + 1 2 TagBox["\[DoubleStruckCapitalZ]", Function[Integers]] frac ( x ) x - x - 1 2 /; x TagBox["\[DoubleStruckCapitalR]", Function[Reals]] x 0 x + 1 2 TagBox["\[DoubleStruckCapitalZ]", Function[Integers]] [/itex]

 Rule Form

 Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["FractionalPart", "[", "x_", "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List["x", "-", RowBox[List["Round", "[", RowBox[List["x", "-", FractionBox["1", "2"]]], "]"]]]], "/;", RowBox[List[RowBox[List["x", "\[Element]", "Reals"]], "&&", RowBox[List["x", "\[GreaterEqual]", "0"]], "&&", RowBox[List["!", RowBox[List[FractionBox[RowBox[List["x", "+", "1"]], "2"], "\[Element]", "Integers"]]]]]]]]]]]]

 Date Added to functions.wolfram.com (modification date)

 2007-05-02

© 1998-2013 Wolfram Research, Inc.