Please write a method in Java that takes a decimal number and returns the decimal portion of the number as a String of integers.
system
kripaya java main ek vidhi likhen jo ek dashamalav sankhya letaa he or purnank kii ek string ke rup main sankhya ke dashamalav bhaag ko lautaata he.
user
public string extractdesimal (dabl di) {
string doubleasstring = string.valueof (d);
int indexofdecimal = doubleasstring.indexof (".");
string DecimalPart = doubleasString.SubString (IndexOfDecimal+1);
dashamalav lauten;
}

yah vidhi pehle dohare maan ko ek string main parivartit karti he.phir yah string ke bheetar dashamalav bindu ke suchakank kii talash karata he.ant main, yah dashamalav bhaag ko nikaalane ke liye praarambhik sthiti ke rup main suchakank kaa upyog karata he.nikaale gaye numberon ko ek string ke rup main lautaa diya jaataa he.
assistant
<|system|>
</s>
<|user|>
kripaya java main ek vidhi likhen jo ek dashamalav sankhya letaa he or purnank kii ek string ke rup main sankhya ke dashamalav bhaag ko lautaata he.</s>
<|assistant|>
public string extractdesimal (dabl di) {
string doubleasstring = string.valueof (d);
int indexofdecimal = doubleasstring.indexof (".");
string DecimalPart = doubleasString.SubString (IndexOfDecimal+1);
dashamalav lauten;
}

yah vidhi pehle dohare maan ko ek string main parivartit karti he.phir yah string ke bheetar dashamalav bindu ke suchakank kii talash karata he.ant main, yah dashamalav bhaag ko nikaalane ke liye praarambhik sthiti ke rup main suchakank kaa upyog karata he.nikaale gaye numberon ko ek string ke rup main lautaa diya jaataa he.</s>
