Blog «java»)
Calculateur de versements hypothécaires canadien
Voilà:
function paiements(AnnualIntRate, Period, Amount, PPay){
PrValue = Amount;
IntRate = (Math.pow((1+AnnualIntRate/2),(2/PPay)) - 1)
Pa = (PrValue * IntRate) / (1 - Math.pow (1 + IntRate, - (Period * PPay)))
return Pa;
}
aux deux semaines
console.log(paiements(0.045, 25, 325000, 24));
au mois
console.log(paiements(0.045, 25, 325000, 12));
accéléré deux semaines
console.log(paiements(0.045, 25, 325000, 26));
par semaine
console.log(paiements(0.045, 25, 325000, 52));
Typeface has a bug with word boundaries and special caracters(Unicode) - IE
We use regularly Typeface to apply a particular font to text on websites.
A bug happened: the regex engine splits the word "français" in "franç" and "ais". The split happened when the engine meet an accented caracter, UTF8 or Unicode.
The effect was invisible in many browsers, but in Internet Explorer, a space was inserted because the script created two distinct markups.
There is a solution! You just have to change line #289 of typeface.js to this:
var words = text.split(/\b(?=\X)/);
Et l'affaire est ketchup !
Credits: http://twitter.com/tousdan
Categories
All articles, Design, E-Commerce, Free stuff, Internal, Mobile, Web, Web Marketing,
Tags
quétaine, Sparko, Montréal, java, JCCM, médias sociaux, twitter, Agence de développement web, apple, Entrepreneurs, Entrepreneurship, facebook, htaccess, la presse, marketing, médias, publicité, rewriteCond, site quétaine, social media,

0